
<div class="row">
<?
	if(isset($system_message))echo $system_message;
	echo validation_errors() !==''?'<div class="error">'.validation_errors().'</div>' : NULL;
?>	
<label class="label">Inventory</label> <a href="#" class="confirm btn btn-success" title="Print"><i class="icon-print"></i>&nbsp;&nbsp;Print</a>
<hr class="cleardiv">	
<?if(!empty($items)):?>
<table class="data-table">
	<thead class="tabular-head">
		<tr>
			<th>Item Name</th>
			<th>Item Description</th>
			<th>Quantity</th>
			<th>Cat. Type</th>
			<!--<th></th>-->
		</tr>
	</thead>
	<tbody class="tabular">
		<?foreach($items as $c):?>
			<tr>
				<td><?=$c->ci_name;?></td>
				<td><?=word_limiter($c->ci_desc,10);?></td>
				<td><?=$c->ci_qty;?></td>
				<td><?=$c->cic_name;?></td>
				<!--<td><a href="<?=site_url('custodian/update_items/'.$c->ci_id);?>" class="data-link">Update</a></td>-->
			</tr>
		<?endforeach;?>
			<tr>
				<td colspan="5"><a href="<?=site_url('custodian/add_items');?>" class="data-link">Add Items</a></td>
			</tr>
	</tbody>
</table>
<?else:?>
<div class="alert">
	No items to show. <a href="<?=site_url('custodian/add_items');?>" class="btn btn-mini">Add Items</a>
</div>
<?endif;?>
</div>